<!DOCTYPE html>
<html class="x-admin-sm">

<head>
    <meta charset="utf-8">
    <title>学科管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../layui/css/layui.css" />
    <link rel="stylesheet" href="css/xadmin.css" />

    <style>
        /* 改变layui选择框的背景颜色和字体颜色 */
        .layui-form-select dl dd.layui-this {
            background-color: #409eff;
            color: #dcdfe6;
        }
        .layui-laypage .layui-laypage-curr .layui-laypage-em {

            background-color: rgba(30, 159, 255, 0.76) !important
        }
        /* layui 数据表格table行高设置 */
        .layui-table-cell {
            height: 30px;
            line-height: 30px;
        }
        /* layui设置按钮样式 */
        .layui-btn {
            border-radius: 4px;
        }
    </style>
</head>

<!-- 学科列表 -->

<body>
    <!-- 导航面包屑 -->
    <div class="x-nav">
        <span class="layui-breadcrumb">
            <a href="#">首页</a>
            <a href="#">演示</a>
            <a><cite>导航元素</cite></a>
        </span>
        <a class="layui-btn layui-btn-small"
            style="line-height:1.6em;margin-top:3px;float:right;background-color: rgba(30, 159, 255, 0.76) !important;"
            onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
    </div>

    <table class="layui-hide" id="test" lay-filter="test"></table>


    <script type="text/html" id="searchToolBar">
        <div class="layui-inline">
            <select id="likeSelect" name="levelName" lay-search="">
                <option value="">请选择年级</option>
                <option value="一年级">一年级</option>
                <option value="二年级">二年级</option>
                <option value="三年级">三年级</option>
                <option value="四年级">四年级</option>
                <option value="五年级">五年级</option>
                <option value="六年级">六年级</option>
                <option value="初一">初一</option>
                <option value="初二">初二</option>
                <option value="初三">初三</option>
                <option value="高一">高一</option>
                <option value="高二">高二</option>
                <option value="高三">高三</option>
            </select>
        </div>
        
        <div class="layui-inline">
            <button type="button" id="likeQuery" class="layui-btn" lay-event="search" style="background-color: rgba(30, 159, 255, 0.76) !important;"><i class="layui-icon">&#xe615;</i></button>
        </div>
        
    </script>

    <script type="text/html" id="barDemo">
        <div class="layui-btn-container">
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="update">编辑</a>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
        </div>
    </script>

    <!-- 学科修改弹出框 -->
    <form class="layui-form" id="show-update" style="display: none;margin-top: 30px;">
        <div class="layui-form-item">
            <label class="layui-form-label"><span style="color: red;">*</span>学科：</label>
            <div class="layui-input-block">
                <input type="text" id="SubjectName" name="SubjectName" lay-verify="date" autocomplete="off"
                    class="layui-input" style="width:600px">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label"><span style="color: red;">*</span>年级：</label>
            <div class="layui-input-block" style="width:600px">
                <select id="levelName" name="levelName" lay-search>
                    <option value="">请选择年级</option>
                    <option value="一年级">一年级</option>
                    <option value="二年级">二年级</option>
                    <option value="三年级">三年级</option>
                    <option value="四年级">四年级</option>
                    <option value="五年级">五年级</option>
                    <option value="六年级">六年级</option>
                    <option value="初一">初一</option>
                    <option value="初二">初二</option>
                    <option value="初三">初三</option>
                    <option value="高一">高一</option>
                    <option value="高二">高二</option>
                    <option value="高三">高三</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button type="button" class="layui-btn layui-btn-normal" lay-filter="demo1" id="add"
                    style="border-radius: 4px;"><i class="layui-icon">&#xe621;</i>提交</button>
                <button type="reset" class="layui-btn layui-btn-primary" style="border-radius: 4px;"><i
                        class="layui-icon">&#xe9aa;</i>重置</button>
            </div>
        </div>
    </form>


    <script src="js/jquery.min.js"></script>
    <script src="../layui/layui.js"></script>
    <script src="js/over/subject_list.js"></script>

</body>

</html>